document.write('\
	<div class="contenedor">\
		<div class="titulo"><h3>Pedidos de Clientes</h3></div>\
		<table id="t_ver_pedido">\
			<tr><td>Pedido: </td><td><strong><label id="v_idPedido" ></label></strong></td></tr>\
			<tr><td>Cliente: </td><td><strong><label id="v_cliente" ></label></strong></td></tr>\
			<tr><td>Fecha:</td><td><strong><label id="v_fecha"></label></strong></td></tr>\
		</table>\
		<div class="center" data-theme="b"><h4>Art&iacute;culos</h4></div>\
		<div id="detallePedido"></div>\
		<div class="center"><a href="#" id="btnAnadirDetalle" onclick="mostrarAnadirPedido()" data-role="button" data-inline="true" data-theme="b">A&ntilde;adir art&iacute;culo</a></div>\
	</div>\
\
	<div data-role="popup" id="detalle_pedido" data-overlay-theme="b" data-theme="b" class="ui-corner-all">\
		<div data-role="header" data-theme="b" class="ui-corner-top">\
			<h1>Detalle</h1>\
		</div>\
		<div data-role="content" data-theme="b" class="ui-corner-bottom ui-content">\
			<div class="mensaje">\
				<p>Mensaje aquí...</p>\
			</div>\
			<hr/>\
			<div class="center">\
				<a href="#" id="btnEliminarDetalle" onclick="eliminarDetalle()" data-role="button" data-inline="true" data-rel="back" data-theme="b">Eliminar</a>\
				<a href="#" data-role="button" data-inline="true" data-rel="back" data-transition="flow" data-theme="b">Conservar</a>\
			</div>\
		</div>\
	</div>\
\
	<div data-role="popup" id="anadir_pedido" data-overlay-theme="b" data-theme="b" class="ui-corner-all">\
		<div data-role="header" data-theme="b" class="ui-corner-top">\
			<h1>A&ntilde;adir</h1>\
		</div>\
		<div data-role="content" data-theme="b" class="ui-corner-bottom ui-content">\
			<div class="mensaje">\
			<table id="t_anadir_pedido">\
				<tr>\
					<td><label for="a_idProducto">Art&iacute;culo:</label></td>\
					<td><div class="selectPedido"><select name="a_idProducto" id="a_idProducto" class="a_idProducto"  data-theme="b">\
	    					<option value=""></option>\
						</select></div>\
					</td>\
				</tr>\
				<tr>\
					<td><label for="a_cantidad">Cantidad:</label></td>\
					<td>\
						<input type="range" data-role="slider" id="a_cantidad" value="1" min="1" max="10" size="3"/>\
					</td>\
				</tr>\
			</table>\
			</div>\
			<hr/>\
			<div class="center">\
				<a href="#" id="btnAnadirrDetalle" onclick="anadirDetalle()" data-role="button" data-inline="true" data-rel="back" data-theme="b">A&ntilde;adir</a>\
				<a href="#" data-role="button" data-inline="true" data-rel="back" data-transition="flow" data-theme="b">Cancelar</a>\
			</div>\
		</div>\
	</div>\
');